#include "stdafx.h"
#include "Particle.h"

namespace MyGame {

Particle::Particle(void) {
    this->BeginScale = D3DXVECTOR3(1, 1, 1);
    this->Effect = NULL;
    this->EndScale = D3DXVECTOR3(1, 1, 1);
    this->Gravity = D3DXVECTOR3(0, 0, 0);
    this->Life = 0;
    this->LifeMax = 0;
    this->Position = D3DXVECTOR3(0, 0, 0);
    this->Speed = D3DXVECTOR3(0, 0, 0);
}

Particle::~Particle(void) {
}

bool Particle::Compare(Particle* p1, Particle* p2) {
    return p1->Position.z > p2->Position.z;
}

}
